//
//  Rank_PeopleInfoPhotoCollCell.m
//  YLProject
//
//  Created by 张伯林 on 2018/2/4.
//  Copyright © 2018年 WY. All rights reserved.
//

#import "Rank_PeopleInfoPhotoCollCell.h"

@implementation Rank_PeopleInfoPhotoCollCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)initWithModel:(id)model type:(Rank_PeopleInfoPhotoType)type{
    switch (type) {
        case Rank_PeopleInfoPhotoBeat:
        case Rank_PeopleInfoPhotoPrivate:
        {
            self.centerImageView.hidden = YES;
            self.bottomImageView.hidden = YES;
        }
            break;
        case Rank_PeopleInfoPhotoGift:
        {
            self.centerImageView.hidden = YES;
        }
            break;
        case Rank_PeopleInfoPhotoVideo:
        {
            self.bottomImageView.hidden = YES;
        }
            break;
        default:
            break;
    }
}
@end
